/*
 * Copyright 1999-2024 Colotnet.com All right reserved. This software is the
 * confidential and proprietary information of Colotnet.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Colotnet.com.
 */
package com.sunney.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sunney.entity.BlogsDO;
import com.sunney.mapper.BlogsMapper;
import com.sunney.service.BlogsService;


/**
 * 类BlogsServiceImpl.java的实现描述：TODO 类实现描述 
 * @author Sunney 2016年3月17日 下午7:37:00
 */
@Service("blogsService")
public class BlogsServiceImpl implements BlogsService {

    @Autowired
    BlogsMapper blogsDao;
    /* (non-Javadoc)
     * @see com.sunney.service.BlogsService#insertBlogs(com.sunney.entity.BlogsDO)
     */
    @Override
    public int insertBlogs(BlogsDO blogs) {
        return  blogsDao.insertBlogs(blogs);
    }

    /* (non-Javadoc)
     * @see com.sunney.service.BlogsService#queryBlogsList(com.sunney.entity.BlogsDO)
     */
    @Override
    public List<BlogsDO> queryBlogsList(BlogsDO blogs) {
        return  blogsDao.queryBlogsList(blogs);
    }

}
